onevent Event |
This event is fired when an event for the subscribed subject arrives.
Syntax
Inline HTML |
<div cordysType="wcp.library.util.eventservice" onevent="handler"/> |
Event Property |
object.onevent = handler; |
Event Information
To Invoke |
N/A. |
Default Action |
Initiates any action associated with this event. |
Event Object Properties
Property |
Description |
---|---|
data |
Read only. Object that contains the data that has been published. |
subject |
Read only. String that contains the name of the subject to which the event has been published. |
Although event handlers in the DHTML Object Model do not receive parameters directly, a handler can query an event object for data.